home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.20010306-20010921
/
000127_dold@02.usenet.us.com_Fri May 11 09:40:38 EDT 2001.msg
< prev
next >
Wrap
Text File
|
2001-09-20
|
2KB
|
36 lines
Article: 12417 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!news.verio.net!nntp.frontiernet.net!nntp.primenet.com!nntp.gblx.net!newspeer.monmouth.com!newspeer1.nac.net!news.stealth.net!jfk3-feed1.news.digex.net!sfo2-feed1.news.digex.net!intermedia!feedwest.news.agis.net!us.telia.net!news.mainstreet.net!bug.rahul.net!samba.rahul.net!rahul.net!a2i!dold.a2i!dold
From: dold@02.usenet.us.com
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Too many files for 'synchron.ksc'
Date: 11 May 2001 04:52:20 GMT
Organization: Wintercreek Data
Lines: 19
Message-ID: <9dfr64$agp$1@samba.rahul.net>
References: <9dckn1$kgi$1@samba.rahul.net> <9dct85$m3u$1@samba.rahul.net> <9dd0eo$4dg$1@newsmaster.cc.columbia.edu> <9dfc68$7k7$1@samba.rahul.net> <9dfclp$s6l$1@newsmaster.cc.columbia.edu>
NNTP-Posting-Host: yellow.rahul.net
NNTP-Posting-User: dold
User-Agent: tin/1.4.2-20000205 ("Possession") (UNIX) (FreeBSD/3.5-STABLE (i386))
X-Comment: Encoded From: line allows replies that preserve original subject
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:12417
Jeffrey Altman <jaltman@watsun.cc.columbia.edu> wrote:
: Yes. Its the same code. Increasing the value of SSPACE appears
: to be the correct setting. I think we can handle changing the code
: to support a realloc() in a future release.
I added a loop at the first directory level. I don't want to increase the
static buffer beyond 500K ;-)
I did add a realloc, with an initial malloc of 10k, wrapped like the
fgen(?) a little above. That gathered all of the names, but gave me a core
dump during the transmission phase. I could see from the debug that I had
called my realloc successfully at least once. I should have verified that
it was called several times.
The 5m static did a complete transfer, but that's so ungraceful.
--
---
Clarence A Dold - dold@email.rahul.net
- San Jose & Pope Valley (Napa County) CA.